package com.hdsx.jxcsxm.log.type;

/**
 * @author 占贤银
 * time 2023/8/17 9:44
 * description 只会成就更好的自己
 */
public enum BusinessType {
    LOGIN_TYPE(1, "登录"),
    INSERT_TYPE(2, "添加"),
    DELETE_TYPE(3, "删除"),
    MODIFY_TYPE(4, "修改"),
    QUERY_TYPE(5, "查询"),
    AUTH_TYPE(6, "授权"),
    EXPORT_TYPE(7, "导出"),
    IMPORT_TYPE(8, "导入"),
    OTHER_TYPE(0, "其他"),
    JHXC_TYPE(9, "计划查询"),
    ZJDW_TYPE(10, "资金到位"),
    ZJBF_TYPE(11, "资金拨付"),
    XMZJTJ_TYPE(12, "资金调剂->项目资金调剂"),
    XMZJTJXM_TYPE(13, "资金调剂->关联计划"),
    XMZJZH_TYPE(14, "资金调剂->计划滞后项目管理"),
    SBZT_TYPE(15, "上报"),
    SHZT_TYPE(16, "审核"),
    THWSH_TYPE(17, "退回未审核"),
    TH_TYPE(18, "退回");
    private int state;
    private String msg;

    public int getState() {
        return state;
    }

    public String getMsg() {
        return msg;
    }

    BusinessType(int state, String msg) {
        this.state = state;
        this.msg = msg;
    }

    public interface Flag {
        String LOGIN = "login";

        String JHCX = "jhcx";

        String ZJDW = "zjdw";

        String ZJBF = "zjbf";

        String XMZJTJ = "xmzjtj";

        String XMZJTJXM = "xmzjtjxm";

        String XMZJZH = "xmzjzh";

        String INSERT_TYPE = "insertType";

        String DELETE_TYPE = "deleteTYpe";

        String UPDATE_TYPE = "updateType";

        String UPDATEZJDWTYPE = "updateZjdwType";
    }
}
